import math

print(math.floor(5.9))
print(math.ceil(5.9))